FROM registry.cn-zhangjiakou.aliyuncs.com/techbrew/tb3_base:latest
MAINTAINER "jingq"<guoqun.jin@hotmail.com>
COPY . /opt/tb3
WORKDIR /opt/tb3/
RUN pip install -r requirements.txt && \
    cp nginx.conf /etc/nginx/sites-enabled/default && \
    chmod +x start.sh
EXPOSE 80
ENTRYPOINT ["/opt/tb3/start.sh"]
